#ifndef UDPRPCCHANNEL_HPP
#define UDPRPCCHANNEL_HPP

#include <kieper/AbstractRpcChannel.hpp>

#include <boost/asio.hpp>
#include <boost/utility.hpp>

namespace kieper {
namespace channels {

class UdpRpcChannel : public AbstractRpcChannel {
public:
    UdpRpcChannel(char* host, unsigned int port);
    ~UdpRpcChannel();
protected:
private:
    boost::asio::ip::udp::socket sock_;

    void doSend(unsigned char *message, size_t msgLen);
};

}
}

#endif
